<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../org/angular.min.js"></script>
	</head>
	<body>
		<div ng-app="hd" ng-controller="ctrl">
			网站开启：
			<input type="radio" ng-model="status" ng-value="1">开启
			<input type="radio" ng-model="status" ng-value="0">关闭
			{{status}}
			<div ng-show="status==0">
				<h2>reason</h2>
				<p>不开了</p>
			</div>
		</div>
		<script>
			var a = angular.module("hd", []);
			a.controller('ctrl',['$scope',function($scope){
				$scope.status=1;
			}])
		</script>
	</body>
</html>
